package exception;

public class finallyTest {

    public static void main(String[] args) {

        int[] data={1,2,3};
        data=null;
        System.out.println("before========");
        try {
            System.out.println(data[1]);
        }catch(Exception e){
            e.printStackTrace();
        }finally {
            System.out.println("finally代码块！！！");
        }
        System.out.println("after=========");
    }
    }

